import request from '@/utils/request'

//查询指标
export function selectCountNcr(query) {
    return request({
      url: '/ny-iqc/homePage/selectCountNcr',
      method: 'get',
      params: query
    })
}

//查询统计超期即将超期进行中
export function selectOverdueCount(query) {
    return request({
      url: '/ny-iqc/homePage/selectOverduecount',
      method: 'get',
      params: query
    })
}
//检验单任务数
export function selectIncomingcountAPI(query) {
  return request({
    url: '/ny-iqc/homePage/selectIncomingcount',
    method: 'get',
    params: query
  })
}
//查询消息通知列表
export function listMessage(query) {
    return request({
      url: '/ny-iqc/homePage/listMessage',
      method: 'get',
      params: query
    })
}

//查询待办任务列表
export function needDealtList(query) {
    return request({
      url: '/ny-iqc/homePage/needDealtList',
      method: 'get',
      params: query
    })
}

//查询已办任务列表
export function processedList(query) {
    return request({
      url: '/ny-iqc/homePage/processedList',
      method: 'get',
      params: query
    })
}

//清空通知
export function clearMessage(ids) {
    return request({
      url: '/ny-iqc/homePage/'+ids,
      method: 'put'
    })
}


